﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.SystemManager.ApplyGather;
using SystemCenterSoa.PoModel.SystemManager.ApplyGather;

namespace SystemCenterSoa.IRepository.SystemManager.ApplyGather
{
    public interface ILeaveApplyRepository
    {
        /// <summary>
        /// 添加申请(请假)
        /// </summary>
        /// <returns></returns>
        bool AddClocking_inApplyFo(Clocking_inApplyFo model);
        bool GetLeaveApplyAdd(LeaveApplyPo leaveApply);
        List<LeaveApplyDto> GetLeaveApplyList(int deId, string nian, string yue, int pageIndex, int pageSize);
        LeaveApplyPo GetLeaveApplyFan(int id);
        bool GetLeaveApplyUpdate(LeaveApplyPo leaveApply);
        bool GetLeaveApplyDel(string ids);
    }
}
